package com.daka.vo.response.passport;

import com.daka.entity.ApproveAddress;
import com.daka.entity.BaseAddress;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * Created by yangx
 * CreateTime: 2016/9/27 17:15
 */

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class ApproveResponseVo extends BaseAddress{
    /**
     * .一审意见
     */
    private String remark;
    /**
     * .终审意见
     */
    private String remarkSecond;
//    /**
//     * .分数
//     */
//    private Integer score;
    /**
     *专家意见
     */
    private String remark1;
    /**
     *专家意见
     */
    private String remark2;
    /**
     *专家意见
     */
    private String remark3;

    /**
     *专家意见
     */
    private Integer failFinally;

    public static ApproveResponseVo buildVO(BaseAddress baseAddress,ApproveAddress approve ) {
        ApproveResponseVo approveResponseVo =  new ApproveResponseVo();
        approveResponseVo.setId(baseAddress.getId());
        approveResponseVo.setAddress(baseAddress.getAddress());
        approveResponseVo.setContactPhone(baseAddress.getContactPhone());
        approveResponseVo.setCreateTime(baseAddress.getCreateTime());
        approveResponseVo.setDayPersions(baseAddress.getDayPersions());
        approveResponseVo.setDelStatus(baseAddress.getDelStatus());
        approveResponseVo.setDemo(baseAddress.getDemo());
        approveResponseVo.setFax(baseAddress.getFax());
        approveResponseVo.setFulltimeJob(baseAddress.getFulltimeJob());
        approveResponseVo.setFulltimeName(baseAddress.getFulltimeName());
        approveResponseVo.setFulltimePhone(baseAddress.getFulltimePhone());
        approveResponseVo.setHasFulltimePersion(baseAddress.getHasFulltimePersion());
        approveResponseVo.setHasLogistics(baseAddress.getHasLogistics());
        approveResponseVo.setHasManagerRegime(baseAddress.getHasManagerRegime());
        approveResponseVo.setHasTrainAdress(baseAddress.getHasTrainAdress());
        approveResponseVo.setHasTrainPlan(baseAddress.getHasTrainPlan());
        approveResponseVo.setHasUseVolPlafform(baseAddress.getHasUseVolPlafform());
        approveResponseVo.setJobs(baseAddress.getJobs());
        approveResponseVo.setLeadJob(baseAddress.getLeadJob());
        approveResponseVo.setLeadName(baseAddress.getLeadName());
        approveResponseVo.setLeadPhone(baseAddress.getLeadPhone());
        approveResponseVo.setMontorJob(baseAddress.getMontorJob());
        approveResponseVo.setMontorName(baseAddress.getMontorName());
        approveResponseVo.setMontorPhone(baseAddress.getMontorPhone());
        approveResponseVo.setName(baseAddress.getName());
        approveResponseVo.setPhone(baseAddress.getPhone());
        approveResponseVo.setPostCode(baseAddress.getPostCode());
        approveResponseVo.setProjectDemo(baseAddress.getProjectDemo());
        approveResponseVo.setProjectName(baseAddress.getProjectName());
        approveResponseVo.setPutUpAddr(baseAddress.getPutUpAddr());
        approveResponseVo.setUserId(baseAddress.getUserId());
        approveResponseVo.setVerfierStatus(baseAddress.getVerfierStatus());
        approveResponseVo.setYearProjects(baseAddress.getYearProjects());
        approveResponseVo.setManagerDemo(baseAddress.getManagerDemo());
        approveResponseVo.setRemark(approve.getRemark());
        approveResponseVo.setRemarkSecond(approve.getRemarkSecond());
        approveResponseVo.setFailFinally(approve.getApproveSecond());
        return approveResponseVo;
    }



}
